package com.pb.infra.auth.mapper.custom;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 法人管理
 *
 * @author liudebao
 * @date 2020/1/1
 */
@Mapper
@Repository
public interface PriviCorpCustomMapper {

    /**
     * 读取法人信息
     * @param map
     * @return
     */
    List<Map<String, Object>> getCorpMenus(Map<String, Object> map);

    /**
     * 查询管理法人
     * @return
     */
    Map<String, Object> queryManageCorp();

    /**
     * 读取法人菜单信息
     * @param map
     * @return
     */
    List<Map<String, Object>> queryCorpMenus(Map<String, Object> map);

    /**
     * 查询法人下用户
     * @param map
     * @return
     */
    List<Map<String, Object>> queryCorpUsers(Map<String, Object> map);

}
